package com.letv.whatslive.model;

import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Map;

/**
 * 直播统计
 * Created by wangjian7 on 15-10-15.
 */
@Getter
@Setter
public class Statistics {

    private Long startTime;
    private Long endTime;
    private Long liveCount; //直播统计数字
    private Long replayTransedCount; //录播已经生成回放
    private Long replayNotTransCount; //录播还未生成回放
    private Long liveTooShortCount; //直播时间过短不生成回放
    private Long offlineCount; //被下线的直播

    private String dateStr;

    //2015.10.28
//    private List<Map<String,List<Device>>> deviceList;//每日新增用户设备信息，键值为用户Id
    private List<Device> deviceList;//每日新增用户设备信息
    private Long newUserCount;//每日新增用户数
    private Map<String,Long> thirdPartyCount;//每日新增用户的第三方平台数量分布，键值为1:facebook  2:twitter  3:system  4:微博 5:QQ 6:微信
    private Long newProgramUserCount;//每日发起直播的新增用户数

    private Long programUserCount;//每日发起直播的用户总数；（新加上去的）
    private Double avgStartPlayTime_ios;//ios平均起播时长
    private Double avgStartPlayTime_android;//android平均起播时长
    private Double avgStartPlayTime_all;//全部平台起播时长
}
